package markerSession;

import java.rmi.RemoteException;
import java.util.Collection;

import javax.ejb.EJBObject;

import user.User;
import descriptor.MarkerDescriptor;
import descriptor.StudentListDescriptor;

public interface MarkerSession extends EJBObject {
	// <ATTRIBUTES>
	
	// simple attributes
	public int getId() throws RemoteException;
	public void setId(int id) throws RemoteException;
	
	public String getLogin() throws RemoteException;
	public void setLogin(String login) throws RemoteException;
	
	public String getPassword() throws RemoteException;
	public void setPassword(String password) throws RemoteException;
	
	public String getFirstname() throws RemoteException;
	public void setFirstname(String firstname) throws RemoteException;
	
	public String getSurname() throws RemoteException;
	public void setSurname(String surname) throws RemoteException;
	
	public String getEmail() throws RemoteException;
	public void setEmail(String email) throws RemoteException;
	
	// Bean attributes
	// relations 1-1
	public User getUser()throws RemoteException;
	public void setUser(User user) throws RemoteException;
	
	

	public Collection getStudents() throws RemoteException;
	public StudentListDescriptor getStudentListDescriptor() throws RemoteException;
	
	public MarkerDescriptor getDescriptor()throws RemoteException;
	// </ATTRIBUTES>
}
